#include "StdAfx.h"
//#include "AbstractItemModel.h"

namespace DuiLib
{

	CVar CAbstractItemModel::headerData(int section, Orientation orient) const
	{
		return CVar();
	}
	bool CAbstractItemModel::setHeaderData(int section, Orientation orient, const CVar& var) const
	{
		return true;
	}

	bool CAbstractItemModel::insertRows(int row, int count, const CModelIndex& parent)
	{
		return true;
	}
	bool CAbstractItemModel::removeRows(int row, int count, const CModelIndex& parent)
	{
		return true;
	}
	bool CAbstractItemModel::insertColumns(int column, int count, const CModelIndex& parent)
	{
		return true;
	}
	bool CAbstractItemModel::removeColumns(int column, int count, const CModelIndex& parent)
	{
		return true;
	}
	bool CAbstractItemModel::removeAll()
	{
		return true;
	}

	inline CModelIndex CAbstractItemModel::createIndex(int row, int col, const void* ptr) const
	{
		return CModelIndex(row, col, ptr, this);
	}
}